package com.computer.demo.service.impl;

import com.computer.demo.service.IModifyService;
import com.computer.spring.framework.annotation.BYService;

/**
 * @Description
 * @Author MagicIce
 * @Date 2020/11/23 9:09
 */
@BYService
public class ModifyService implements IModifyService {

    @Override
    public String add(String name, String addr) {
        return "modifyService add,name=" + name + ",addr=" + addr;
    }

    @Override
    public String edit(Integer id, String name) {
        return "modifyService edit,id=" + id + ",name" + name;
    }

    @Override
    public String remove(Integer id) {
        return "modifyService id=" + id;
    }
}
